﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Sys_Permissions:NFinal.Struct
    {
		public System.String PerCode {get;set;}
		public System.String Name {get;set;}
		public System.String Icon {get;set;}
		public System.String Url {get;set;}
		public System.String GroupName {get;set;}
		public System.String ReMark {get;set;}
		public System.Int32? OrderIndex {get;set;}
		public System.String Action {get;set;}
		public System.String GroupNameSecond {get;set;}
		public System.Int32? IsShow {get;set;}
		public System.Int32? SortId {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"PerCode\":");
					tw.Write("\"");
					tw.Write(PerCode==null?"null":PerCode);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Name\":");
					tw.Write("\"");
					tw.Write(Name==null?"null":Name);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Icon\":");
					tw.Write("\"");
					tw.Write(Icon==null?"null":Icon);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Url\":");
					tw.Write("\"");
					tw.Write(Url==null?"null":Url);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"GroupName\":");
					tw.Write("\"");
					tw.Write(GroupName==null?"null":GroupName);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ReMark\":");
					tw.Write("\"");
					tw.Write(ReMark==null?"null":ReMark);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"OrderIndex\":");
					tw.Write(OrderIndex==null?"null" : OrderIndex.ToString());
					tw.Write(",");
					tw.Write("\"Action\":");
					tw.Write("\"");
					tw.Write(Action==null?"null":Action);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"GroupNameSecond\":");
					tw.Write("\"");
					tw.Write(GroupNameSecond==null?"null":GroupNameSecond);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"IsShow\":");
					tw.Write(IsShow==null?"null" : IsShow.ToString());
					tw.Write(",");
					tw.Write("\"SortId\":");
					tw.Write(SortId==null?"null" : SortId.ToString());
			tw.Write("}");
		}
		#endregion
    }
}
